/* font */
@font-face {
    font-family: Poppins-Regular;
    src: url('../fonts/poppins-regular.ttf'); 
  }
  
  @font-face {
    font-family: Poppins-Bold;
    src: url('../fonts/poppins-bold.ttf'); 
  }
  
  @font-face {
    font-family: Poppins-Medium;
    src: url('../fonts/poppins-medium.ttf'); 
  }
  
  @font-face {
    font-family: Montserrat-Bold;
    src: url('../fonts/montserrat-bold.ttf'); 
  }

  /* restyle tag */
  *{
      margin: 0px;
      padding: 0px;
      box-sizing: border-box;
  }

  body, html {
    height: 100%;
    font-family: Poppins-Regular, sans-serif;
  }

  /* diy */
  h1,h2,h3,h4,h5,h6 {
      margin: 0px;
  }

  p {
    font-family: Poppins-Regular;
    font-size: 12px;
    line-height: 1.5;
    color: #dd8063;
    margin: 0px;
  }

  ul, li {
      margin: 0px;
      list-style-type: none;
  }

  input {
      outline: none;
      border: none;
  }

  input:focus {
      border-color: transparent !important;
  }

  input::-webkit-input-placeholder{ color:#a8a4a3;}
  input:-moz-input-placeholder{ color:#a8a4a3;}
  input:-ms-input-placeholder{ color:#a8a4a3;}

  input:focus::-webkit-input-placeholder { color:transparent; }
  input:focus:-moz-placeholder { color:transparent; }
  input:focus::-moz-placeholder { color:transparent; }
  input:focus:-ms-input-placeholder { color:transparent; }


  button {
      outline: none !important;
      border: none;
      background:transparent;
  }

  button:hover {
    cursor: pointer;
  }

  /* register */
  .register {
      width: 100%;
      margin: 0 auto;
  }

  .container-register {
      width: 100%;
      min-height: 100vh;
      display: -webkit-box;
      display: -webkit-flex;
      display: -moz-box;
      display: -ms-flexbox;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      padding: 15px;
      background: transparent;
      background: -webkit-linear-gradient(120deg, #e7bda1, #f58122);
      background: -o-linear-gradient(120deg, #e7bda1, #f58122);
      background: -moz-linear-gradient(120deg, #e7bda1, #f58122);
      background: linear-gradient(120deg, #e7bda1, #f58122);
  }
  
  .wrap-register {
     width: 500px;
     background: white;
     border-radius: 12px;
     overflow: hidden;
     display: -webkit-box;
      display: -webkit-flex;
      display: -moz-box;
      display: -ms-flexbox;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      padding: 50px 50px 50px 50px;/*待定*/
  }

  .register-form {
      width: 100%;/*待定*/
  }

  .register-form-title {
      font-family: Poppins-Bold;
      font-size: 32px;
      text-align: center;
      color: tomato;
      line-height: 1.0;
      width: 100%;
      display: block;
      padding-bottom: 30px;
  }

  .wrap-input {
      position: relative;
      width: 100%;
      z-index: 1;
      margin-bottom: 15px;
  }

  .register-input {
      font-family: Poppins-Medium;
      font-size: 15px;
      line-height: 1.5;
      color:#666262;
      display: block;
      width: 100%;
      height: 50px;
      border-radius: 25px;
      padding: 0 60px 0 100px;
  }

  .focus-input{
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    box-shadow: 0px 0px 0px 0px;
    border-radius: 25px;
    color: #e76f4b;
  }

  .input:focus + .focus-input {
      -webkit-animation: anim-shadow 0.5s ease-in-out forwards;
      animation: anim-shadow 0.5s ease-in-out forwards;
  }

  @-webkit-keyframes anim-shadow {
    to {
      box-shadow: 0px 0px 70px 25px;
      opacity: 0;
    }
  }
  
  @keyframes anim-shadow {
    to {
      box-shadow: 0px 0px 70px 25px;
      opacity: 0;
    }
  }

  .symbol-input {
      font-size: 15px;
      display: -webkit-box;
      display: -webkit-box;
      display: -webkit-flex;
      display: -moz-box;
      display: -ms-flexbox;
      display: flex;
      align-items: center;
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      padding-left: 35px;
      pointer-events: none;
      color: #666666;

      -webkit-transition: all 0.4s;
      -o-transition: all 0.4s;
      -moz-transition: all 0.4s;
      transition: all 0.4s;
  }

  .input:focus + .focus-input + .symbol-input {
      color: #da6446;
      padding-left: 30px;
  }

  .container-register-form-btn {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
  }

  .register-form-btn {
    font-family: Montserrat-Bold;
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
    text-transform: uppercase;

    width: 100%;
    height: 50px;
    border-radius: 25px;
    background: coral;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 25px;

    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
  }

  .register-form-btn:hover {
      background: #000;
  }


  /*------------------------------------------------------------------
[ Alert validate ]*/

.validate-input {
    position: relative;
  }
  
  .alert-validate::before {
    content: attr(data-validate);
    position: absolute;
    max-width: 70%;
    background-color: white;
    border: 1px solid #c80000;
    border-radius: 13px;
    padding: 4px 25px 4px 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 8px;
    pointer-events: none;
  
    font-family: Poppins-Medium;
    color: #c80000;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
  
    visibility: hidden;
    opacity: 0;
  
    -webkit-transition: opacity 0.4s;
    -o-transition: opacity 0.4s;
    -moz-transition: opacity 0.4s;
    transition: opacity 0.4s;
  }
  
  .alert-validate::after {
    content: "\f06a";
    font-family: FontAwesome;
    display: block;
    position: absolute;
    color: #c80000;
    font-size: 15px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 13px;
  }
  
  .alert-validate:hover:before {
    visibility: visible;
    opacity: 1;
  }
  
  @media (max-width: 992px) {
    .alert-validate::before {
      visibility: visible;
      opacity: 1;
    }
  }
